/*
 * @Date: 2023-02-21 15:18:10
 * @LastEditors: Zireael 1193875164@qq.com
 * @LastEditTime: 2023-03-09 20:10:36
 * @FilePath: \A19\backend\src\shared\types\Answer.ts
 */
//教师输入的答案

import { ObjectId } from "mongodb"

//用于对比 自动计分
export interface answer{
    selections?:Array<string>//针对选择题
    // answers?:Array<Array<string>>//针对填空题
    selection?:string//判断题
}

export interface studentAnswer{
    questionId:ObjectId
    answer?:string,//简答题
    selections?:Array<string>,//选择题
    answers?: Array<string>//填空题
    getPoint:number
}